<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>My JSP 'index.jsp' starting page</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <%-- <script type="text/javascript" src="${ss }/js/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="${ss }/js/sockjs.min.js"></script>
    <script type="text/javascript" src="${ss }/js/stomp.js"></script> --%>

</head>

<body>
<h1>首页</h1>
<%-- <form id="sangForm">
    <textarea rows="4" cols="60" name="text"></textarea>
    <input type="submit" value="发送"/>
</form><input type="button" value="停止" id="stop"/>
<script type="text/javascript" src="${ss }/js/socket.js">

</script>
<div id="output"></div> --%>
你好
</body>
</html>
